<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script type="text/javascript"
			src="<%=basePath%>datemaker/calendar.js">
</script>
		<script type="text/javascript" src="<%=basePath%>js/jquery-1.7.min.js">
</script>
		<script language="javascript" type="text/javascript"
			src="<%=basePath%>datemaker/WdatePicker.js">
</script>
		<script type="text/javascript" src="manage/js/jquery.js">
</script>
		<script type="text/javascript" src="manage/js/addbg.js">
</script>
		<script type="text/javascript" src="manage/js/formTravel.js">
</script>
		<script type="text/javascript" src="dwr/engine.js">
</script>
		<script type="text/javascript" src="dwr/util.js">
</script>
		<script type="text/javascript"
			src="dwr/interface/checkStaffService.js">
</script>
		<link rel="stylesheet" type="text/css" href="manage/css/addTravel.css" />

	</head>

	<body>
		<center>
			<form action="addTravel" method="post" name="travel"
				onsubmit="return login()">
				<table>
					<thead>
						<tr>
							<th colspan="4" align="center">差旅登记</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>
								<label for="staffId">
									员&nbsp;工&nbsp;编&nbsp;号
								</label>
							</td>
							<td>
								<input type="text" name="staffId" id="staffId"
									onblur="checkstaffId()" />
								<span class="emphasize">*</span>
							</td>

							<td>
								<label for="travelTYpe">
									出&nbsp;差&nbsp;类&nbsp;型
								</label>
							</td>
							<td>
								<select name="travelTypeId" id="travelTypeId">
									<option value="0" selected>
										==请选择==
									</option>
									<option value="15">
										市内出差
									</option>
									<option value="16">
										长途出差
									</option>
									<option value="17">
										驻点出差
									</option>
									<option value="4">
										其&nbsp;&nbsp;&nbsp;它
									</option>
								</select>
								<span class="emphasize">*</span>
							</td>
						</tr>

						<tr>
							<td>
								<label for="travelStart">
									出&nbsp;差&nbsp;开&nbsp;始
								</label>
							</td>
							<td>
								<input type="text" name="travelStart" class="Wdate"
									onClick="WdatePicker()" id="travelStart"/>
								<span class="emphasize">*</span>
							</td>
						
							<td>
								<label for="travelEnd">
									出&nbsp;差&nbsp;结&nbsp;束
								</label>
							</td>
							<td>
								<input type="text" name="travelEnd" class="Wdate"
									onClick="WdatePicker()" id="travelEnd"/>
								<span class="emphasize">*</span>
							</td>
						</tr>

						<tr>
							<td>
								<label for="travelSubsidy">
									出&nbsp;差&nbsp;补&nbsp;贴
								</label>
							</td>
							<td>
								<input type="text" name="travelSubsidy" />
								<span class="emphasize">*</span>
							</td>
						<td>
								<label>补贴状态</label>
							</td>
							<td>
								<s:select list="#{0:'未补贴',1:'已补贴'}" name = "typeByStatus"></s:select>
							</td>
							
						</tr>
						<tr>
							<td>
								<label for="travelAmountPayable">
									应&nbsp;交&nbsp;金&nbsp;额
								</label>
							</td>
							<td>
								<input type="text" name="travelAmountPayable" />

							</td>
					
							<td>
								<label for="travelAmountPaid">
									未&nbsp;交&nbsp;金&nbsp;额
								</label>
							</td>
							<td>
								<input type="text" name="travelAmountPaid" />

							</td>
						</tr>
						<tr>
							<td colspan="2">
								<label for="travelHandInId">
									上&nbsp;交&nbsp;发&nbsp;票
								</label>
							</td>
							<td colspan="2">
								是
								<input type="radio" name="travelHandInId" value="1">
								否
								<input type="radio" name="travelHandInId" value="0" CHECKED />
							</td>
							
						</tr>
					</tbody>
			<tfoot>
		 		<tr>
			 		<td colspan="4" align="center" height="45px">
				 		<input class="submit" type="submit" value="提交"/>
				 		<input class="reset" type="reset" value="重置"/>
		 			</td>
		 		</tr>
	 		</tfoot>
			</table>
			</form>
		</center>
	</body>
</html>